package com.boguan.device.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiResponses;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("设备列表")

public class DeviceListVo {
    @ApiParam("主键id")
    private String device_id;
    @ApiParam("设备ID")
    private String device_num;
    @ApiParam("设备名称")
    private String device_name;
    @ApiParam("设备地址")
    private String localtion;
    @ApiParam("在线离线")
    private String online_status;
    @ApiParam("频率")
    private String rate;
    @ApiParam("电量")
    private String electric_quantity;
    @ApiParam("电流")
    private String electric_current;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;

    private Integer alarm_flag;

}
